﻿
namespace MockingBird.Studio.UI.UserControls
{
    using System.Drawing;
    using System.Windows.Forms;
    using MockingBird.Studio.UI.UserControls.Model;

    internal class WsdlContextMenuItem : ToolStripMenuItem
    {
        internal WsdlContextMenuItem() : base() { }
        internal CommandAction Command { get; private set; }

        internal WsdlContextMenuItem(CommandAction sourceCommand, Size controlSize)
        {
            this.Command = sourceCommand;
            this.Name = sourceCommand.CommandName;
            this.Text = sourceCommand.DisplayName;
            this.Size = controlSize;

        }
    }
}
